
using Qdb.Internal;
using Qdb.Internal.Marshall;
using Qdb.Marshall;

namespace Qdb.Internal.Marshall
{
	/// <exclude></exclude>
	public class ObjectIdContextImpl : ObjectHeaderContext, IObjectIdContext
	{
		private readonly int _id;

		public ObjectIdContextImpl(Transaction transaction, IReadBuffer buffer, ObjectHeader
			 objectHeader, int id) : base(transaction, buffer, objectHeader)
		{
			_id = id;
		}

		public virtual int Id()
		{
			return _id;
		}
	}
}
